package gameEngine.agents.teamMateModel;

import gameEngine.agents.Agent;

import java.util.ArrayList;

import org.apache.log4j.Logger;
/**
 * return a model of real agents values
 * @author alon
 *
 */
public class InitTrueModel extends InitTeamMateModel{

	Logger log=Logger.getLogger(this.getClass());
	/**
	 * Initialize all but self with 0 competence
	 */
	public InitTrueModel(int myId) {
		super(myId);
	}
	
	@Override
	public void init(ArrayList<Agent> realAgents) {
		//set all agents competence to 0
		log.debug("Initialize teamMateModel with 0");
		for(Agent a:realAgents){
			AgentMockImpl mock=new AgentMockImpl(a.getCompetence(), a.getEpsilonGreedy(), a.getID());
			agents.put(a.getID(),mock );		
		}
	}


}
